home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / winnum < prev    next >
Text File  |  2001-03-21  |  697b  |  24 lines

  1. Synopsis:
  2.    $winnum(<winname>)
  3.  
  4. Technical:
  5.    This returns the window reference number of the window name specified
  6.    by <winname>. If no arguments are passed, it defaults to the current
  7.    window. This value will always match the value of STATUS_WINDOW in
  8.    the window's status bar.
  9.  
  10. Practical:
  11.    This function is mainly useful for scripts, allowing them to know at any
  12.    given time what the current window is.
  13.  
  14. Returns:
  15.    window number of the window specified by <winname>, or if no arguments are
  16.    passed, the window number of the current window.
  17.  
  18. Examples:
  19.    $winnum()               returns number of current window
  20.  
  21. See Also:
  22.    set(4) status_window; winnam(6)
  23.  
  24.